package org.interview.ms.recursion;

public class Factorial {

	
	int getFactorial(int n){
		
		int result;
		
		if (n == 0 || n == 1){
			result = 1;
		} else {
			result = getFactorial(n-1) * n;
		}
		
		return result;
	}
	
	
	
	
}
